@extends('layouts.admin')

@section('content')
<div class="row">
	<div class="col-lg-12">
		<h1 class="page-header">User - <small>{{ $user->first_name }}</small></h1>
		<ol class="breadcrumb">
			<li>
				<a href="{{ url('users') }}">
					<span class="glyphicon glyphicon-arrow-left"></span> Back
				</a>
			</li>
			<li class="active">
				<a href="{{url('users/'.$user->id.'/edit')}}">
					<span class="glyphicon glyphicon-edit"></span> Edit
				</a>
			</li>
			<li>
				<a href="{{url('users/'.$user->id.'/delete')}}">
					<span class="glyphicon glyphicon-trash"></span> Delete
				</a>
			</li>
		</ol>
	</div>
</div>

<div class="row">
	<div class="col-lg-12">
		<label>First Name</label> : {{ $user->first_name }}
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<label>Last Name</label> : {{ $user->last_name }}
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<label>E-Mail</label> : {{ $user->email }}
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<label>Role Name</label> : {{ $user->role->role_name }}
	</div>
</div>
<div class="row">
	<div class="col-lg-12">
		<label>Department Name</label> : {{ $user->department->department_name }}
	</div>
</div>
@stop